package cn.sciento.farm.devicemanager.dao.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wumu
 * @since 2019-12-14
 */
public class DevCollectionType extends Model<DevCollectionType> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 名字
     */
    private String name;

    /**
     * 计算比例
     */
    private Double proportion;

    /**
     * 单位
     */
    private String unit;

    private Integer serial;

    private String remark;

    private String tenantId;

    private String showCode;

    private String pcIcon;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getProportion() {
        return proportion;
    }

    public void setProportion(Double proportion) {
        this.proportion = proportion;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getSerial() {
        return serial;
    }

    public void setSerial(Integer serial) {
        this.serial = serial;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getShowCode() {
        return showCode;
    }

    public void setShowCode(String showCode) {
        this.showCode = showCode;
    }

    public String getPcIcon() {
        return pcIcon;
    }

    public void setPcIcon(String pcIcon) {
        this.pcIcon = pcIcon;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "DevCollectionType{" +
        "id=" + id +
        ", name=" + name +
        ", proportion=" + proportion +
        ", unit=" + unit +
        ", serial=" + serial +
        ", remark=" + remark +
        ", tenantId=" + tenantId +
        ", showCode=" + showCode +
        ", pcIcon=" + pcIcon +
        "}";
    }
}
